package com.hqyj.crmdemo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hqyj.crmdemo.entity.Contact;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.crmdemo.entity.Custmer;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 何万林
 * @since 2022-10-17
 */
public interface IContactService extends IService<Contact> {

    Contact queryOne(Integer contactId);

    List<Contact> queryAll();

    List<Contact> queryOne(QueryWrapper queryWrapper);

    Boolean add(Contact contact);

    Boolean update(Contact contact);

    Boolean delete(Integer contactId);

}
